package example.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;

public class TestController {

    @Autowired
    private RedisTemplate redisTemplate;

    public void method() {
//        ValueOperations valueOperations = redisTemplate.opsForValue();
//        redisTemplate.opsForValue().set();
//        redisTemplate.expire()
    }
}
